package com.sinosoft.vo;

import com.alibaba.fastjson.JSON;

/**
 * @Author: WangShengJie
 * @Date: 2024/9/5
 */
public class JsonDemo {
    public static void main(String[] args) {
        String json = "{\n" +
                "                \"id\": 111279987,\n" +
                "                \"name\": \"程波\",\n" +
                "                \"uwFlag\": \"5\",\n" +
                "                \"mobilePhone\": \"15031990793\",\n" +
                "                \"unionId\": null,\n" +
                "                \"headImg\": null,\n" +
                "                \"pinyinName\": \"chengbo\",\n" +
                "                \"customerNo\": \"D57EA64E-AB14-49F8-85AB-F777DD6A2236\",\n" +
                "                \"wechatNick\": \"\",\n" +
                "                \"customerLevel\": \"\",\n" +
                "                \"oneId\":\"\",\n" +
                "                \"customerClass\":\"\",\n" +
                "                \"starCustomer\":\"\",\n" +
                "                \"polNum\":\"\",\n" +
                "                \"prem\":\"\",\n" +
                "                \"imageUrl\":\"\"\n" +
                "            }";
        CustomerListVO customerListVO = JSON.parseObject(json, CustomerListVO.class);
        System.out.println(customerListVO.toString());

    }
}

